package cn.smile.stream;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: MaoSuyu
 * @User：John
 * @Date: 2019/6/29
 * @Time: 14:02
 * @Description: No Description
 */
@Component
public interface RabbitStreamConfig {

    @Input("rabbit_stream")
    SubscribableChannel consumer();

}
